<template>
  <div class="home">
    <el-container>
      <el-header>
        <Header />
      </el-header>
      <el-container>
        <el-aside>
          <Siderbar />
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import Header from '@/layout/header.vue'
import Siderbar from '@/layout/siderbar.vue'
// import router from '@/router';


// function gofirstpage(){
//   router.push("/gofirstpage")
// }
// function govideo(){
//   router.push("/video")
// }
// function golive(){
//   router.push("/live")
// }
</script>

<style scoped>
:deep(.el-container.is-vertical){
  height: 100vh;
}
:deep(.el-header) {
  padding: 0;
  height: 6vh;
}
:deep(.el-main) {
  padding-top: 20px;
  background: #000000;
}
:deep(.el-aside){
  width: 160px;
  background: #25212B;
}
</style>